from flask import Flask, request


app = Flask(__name__)


@app.route("/")
def index():
    # 从前端传递过来的query,存储在request.args中
    print(request.args.getlist("a"))
    return "Hello World"

if __name__ == '__main__':
    app.run()